package com.whw.fy.entity.count;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.whw.fy.entity.Lesson;
import com.whw.fy.entity.Student;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import springfox.documentation.annotations.ApiIgnore;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 缴费金额统计（本月随时）（每月数据留存记录）
 */
@ApiModel(value = "com-whw-fy-entity-PaymentAmountStatistics")
@Data
public class PaymentAmountStatistics {
    /**
     * 儿童姓名
     */
    @ApiModelProperty(value = "儿童姓名")
    private String PaymentAmountStatisticsStudentName;

    /**
     * 缴费时间
     */
    @ApiModelProperty(value = "缴费时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date PaymentAmountStatisticsPayTime;

    /**
     * 缴费类别
     */
    @ApiModelProperty(value = "缴费类别")
    private String PaymentAmountStatisticsPayType;

    /**
     * 课程类型
     */
    @ApiModelProperty(value = "课程类型名称")
    private String PaymentAmountStatisticsClassTypeName;

    /**
     * 技术类别
     */
    @ApiModelProperty(value = "技术类别名称")
    private String PaymentAmountStatisticsTechnicalTypeName;

    /**
     * 单价
     */
    @ApiModelProperty(value = "单价")
    private BigDecimal PaymentAmountStatisticsUnitPrice;

    /**
     * 课时数量
     */
    @ApiModelProperty(value = "数量")
    private Integer PaymentAmountStatisticsClassHours;

    /**
     * 小计
     */
    @ApiModelProperty(value = "小计")
    private BigDecimal PaymentAmountStatisticsPaySubtotal;


    /**
     * 授课老师
     */
    @ApiModelProperty(value = "授课老师")
    private String PaymentAmountStatisticsTeacherName;


    private Integer PaymentAmountStatisticsPayTypeId;
    private Integer studentId;
    private Integer lessonId;
    private Student student;
    private Lesson lesson;
    private String payId;

}
